import 'package:logger/logger.dart';

class DZLog {
  DZLog._internal();
  static final Logger _logger =
      Logger(printer: PrefixPrinter(PrettyPrinter(methodCount: 0)));

  static void d(dynamic msg, {String tag = '[debug]'}) {
    _logger.d("$tag :: $msg");
  }

  static void i(String msg, {String tag = '[debug]'}) {
    _logger.i("$tag :: $msg");
  }

  static void e(String msg, {String tag = '[debug]'}) {
    _logger.e("$tag :: $msg");
  }

  static void w(String msg, {String tag = '[debug]'}) {
    _logger.w("$tag :: $msg");
  }
}
